"""

@Time: 2021/2/18 16:07
@Author:
@File: file_upload_dto.py
"""
from typing import List

from pydantic import BaseModel, Field


class UploadResult(BaseModel):
    """文件上传的结果"""
    success_read_files: List[str] = Field(title='读取成功的文件的文件名')
    success_save_files: List[str] = Field(title='保存成功的文件的文件名')
    fail_read_files: List[str] = Field(title='读取失败的文件的文件名')
    fail_save_files: List[str] = Field(title='保存失败的文件的文件名')